package com.topc.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.platform.model.po.CarouselInfo;
import com.topc.platform.model.vo.IndexCarouselShowVo;

import java.util.List;

/**
 * <p>
 * 轮播图 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-05-08
 */
public interface CarouselInfoService extends IService<CarouselInfo> {

    void saveInfo(String imgUrl, String linkUrl);


    PageResult<CarouselInfo> searchByPage(PageParams pageParams,int status);

    void updateInfo(Long Id,String imgUrl, String linkUrl);

    void removeInfoById(Long id);

    Boolean updateImgById(Long id, String imgUrl);

    void updateInfoById(Long id, String linkUrl,int status);

    List<IndexCarouselShowVo> getIndexCarouselShowVoList();
}
